//Directive for all the tabs in the PM work space
dmdPMApp.directive('apptabs', function () {
        return {
            restrict:"E",
            scope:{
                tablist:'=',
                ondelete:'&'
            },
            templateUrl:"static/partials/nav/tabs-directive.html",
            controller:function ($scope, $attrs) {
                $scope.deleteTab = function (id) {
                	$scope.ondelete({id:id});
                }
            }
        };
    })

